package com.bw.educate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 在线教育-五组
 * @since 2020-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class EduCourseSection implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 课程ID
     */
    @TableField("COURSE_ID")
    private Long courseId;

    /**
     * 章ID
     */
    @TableField("CHAPTER_ID")
    private Long chapterId;

    /**
     * 名称
     */
    @TableField("NODE_NAME")
    private String nodeName;

    /**
     * 类型
     */
    @TableField("NODE_TYPE")
    private String nodeType;

    /**
     * 播放次数
     */
    @TableField("PLAY_COUNT")
    private Integer playCount;

    /**
     * 播放时间
     */
    @TableField("PLAY_TIME")
    private String playTime;

    /**
     * 更新时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

    /**
     * 排序
     */
    @TableField("SORT")
    private Integer sort;

    /**
     * 资源ID(课件)
     */
    @TableField("RES_ID")
    private String resId;

    /**
     * 备注
     */
    @TableField("REMARKS")
    private String remarks;


}
